import { QSpinnerBox as Component } from '@teld/q-components/Spinner';
import { fixNameSpace } from 't/common/utils';

import { defineComponent } from 'vue';

export default defineComponent({
  name: fixNameSpace(Component.name),

  props: {
    ...Component.props,
  },

  setup(props, { attrs, emit, expose, slots }) {
    return () => {
      return (
        <Component
          {...attrs}
          {...props}
          // v-slots={{ ...slots }}
        >
          {slots}
        </Component>
      );
    };
  },
});
